package com.rnkrsoft.suyan.config.server.services.file.domains;

import com.rnkrsoft.suyan.config.internal.enums.YesOrNo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.doc.annotation.ApidocElement;
import java.io.Serializable;

/**
 * Created by woate on 2019/5/19.
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ListFileRecord implements Serializable{
    @ApidocElement(value = "文件路径", maxLen = 36)
    String filePath;
    @ApidocElement(value = "文件名称",maxLen = 36)
    String fileName;
    @ApidocElement(value = "版本号")
    int fileVersion;
    @ApidocElement(value = "是否加密参数", defaults = "Y", enumClass = YesOrNo.class)
    String fileEncrypt;
    @ApidocElement("文件描述")
    String fileDesc;
}
